import { LoadChildren } from '@angular/router';
import { FreeflowComponent } from './freeflow.component';
import { FfBaseComponent } from './base/ffbase.component';
import {AuthorityGuard} from "../common/interceptor/authority.guard";

export const freeflowRoutes = [
	{
		path: '',
        canActivate: [AuthorityGuard],
		component: FreeflowComponent,
		children: [
			{ path: '', pathMatch: 'full' },
			/** 流程配置 **/
			{ path: 'base', component: FfBaseComponent }
		]
	}
];
